package com.ebocy.hammer.game.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractS2CMessage;

public class S2CItemChange extends AbstractS2CMessage {
	private String userTime;
	
	public S2CItemChange(long cretateTime) {
		this.userTime=String.valueOf(cretateTime);
	}

	@Override
	public short getMessageCode() {
		return GameMessageCode.GAME_ITEM_CHANGE;
	}

	@Override
	protected void writeMessage() {
		writeString(userTime);
	}


}
